package com.ics.atable.chat.controller;

import com.ics.atable.chat.common.BaseResponse;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import static com.ics.atable.chat.common.ResultUtils.success;

/**
 * health
 *
 * @author haohongbin
 */
@Tag(name = "health", description = "健康检查接口")
@RestController
public class HealthController {

    @GetMapping("/health")
    public BaseResponse<String> health() {
        return success("health!!!");
    }
}
